﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CILADA.TestAssemblyTwo
{
    /**
     * Attempt to create a circular dependency with inheritance
     * The MS compiler picks this up and will not compile it, throwing an error: 
     * "Circular base class dependency involving CILADA.TestAssemblyTwo.InheritCircThree 
     * and CILADA.TestAssemblyTwo.InheritCircOne"
     * Haven't checked it in mono yet.
     **/

    //class InheritCircOne : InheritCircTwo
    //{
    //    public int ValueA { get; set; }

    //    public InheritCircOne() { }

    //    public InheritCircOne(int i)
    //    {
    //        this.ValueA = i;
    //        this.ValueB = i;
    //    }
    //}

    //class InheritCircTwo : InheritCircThree
    //{
    //    public int ValueB { get; set; }

    //    public InheritCircTwo() { }

    //    public InheritCircTwo(int i)
    //    {
    //        this.ValueB = i;
    //        this.ValueA = i;
    //    }
    //}

    //class InheritCircThree : InheritCircOne
    //{
    //    public int ValueC { get; set; }

    //    public InheritCircThree() { }

    //    public InheritCircThree(int i)
    //    {
    //        this.ValueC = i;
    //        this.ValueA = i;
    //    }
    //}
}